__author__ = 'Ian'
def PygLatin():
    """A function used for turing any english word into its Piglatin equavelent"""
    print "Welcome to the English to Pig Latin Translator!"
    word = raw_input("Please provide a word to be translated:")
    pyg = "ay"
    newword = word.lower()
    firstletter= newword[0]
    vowelArray = ["A", "E", "I", "O", "U", "Y"]
    if len(word) > 0 and word.isalpha():
        if firstletter in vowelArray:
            new_word = word + pyg
            print new_word
        else:
            new_word = newword[1:] + firstletter + pyg
            print new_word
    elif word.isalpha() is False:
        print "You have entered a number, please enter a word!"
    else:
        print "You have failed to enter in an alphanumerical, please try again!"
